package com.weaver.drools.common.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the E_AQ_INS_INQUIRYRECORD_162 database table.
 * 
 */
@Entity
@Table(name="E_AQ_INS_INQUIRYRECORD_162")
public class EAqInsInquiryrecord162 implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="E_AQ_INS_INQUIRYRECORD_162_PNLINQUIRYRECORDID_GENERATOR",sequenceName="SE_E_AQ_INS_INQUIRYRE_162",allocationSize=1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="E_AQ_INS_INQUIRYRECORD_162_PNLINQUIRYRECORDID_GENERATOR")
	private Long pnlinquiryrecordid;

	private String address;

	private String age;

	private Long datastatusid;

	private Long datatypeid;

	private String deletereason;

	private Long departmentid;

	private Long detailsregistertypeid;

	private String duties;

	private String enforcingauthority;

	@Lob
	private String enquiredeventreason;

	private String enquiredeventreason1;

	private String enquiredperson;

	private String identifynumber;

	private String inquiryman;

	private String inquiryspot;

	@Temporal(TemporalType.DATE)
	private Date inquirystartdate;

	@Temporal(TemporalType.DATE)
	private Date inquirystopdate;

	private Long inquirytimes;

	private Long isdeleted;

	private Long isneedpor;

	private Long isnewest;

	private Long isprint;

	private Long latestoperateuserid;

	private String party;

	private String phone;

	private String pnlinquiryfileurl;

	private Long pnlinquiryinformid;

	private Long porid;

	private String reason;

	private String registrant;

	private String remark;

	@Temporal(TemporalType.DATE)
	private Date reportdate;

	@Column(name="RESERVED_1")
	private String reserved1;

	@Column(name="RESERVED_2")
	private String reserved2;

	@Column(name="RESERVED_3")
	private String reserved3;

	private Long sexid;

	private Long superviseviewtypeid;

	private String supervisor;

	private String titleofcause;

	private String unitbname;

	private Long userid;

	private String zipcode;

	//bi-directional many-to-one association to EAqInsInpectionpandect599
	@ManyToOne
	@JoinColumn(name="INPECTIONPANDECTID")
	private EAqInsInpectionpandect599 EAqInsInpectionpandect599;

	public EAqInsInquiryrecord162() {
	}

	public Long getPnlinquiryrecordid() {
		return this.pnlinquiryrecordid;
	}

	public void setPnlinquiryrecordid(Long pnlinquiryrecordid) {
		this.pnlinquiryrecordid = pnlinquiryrecordid;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getAge() {
		return this.age;
	}

	public void setAge(String age) {
		this.age = age;
	}

	public Long getDatastatusid() {
		return this.datastatusid;
	}

	public void setDatastatusid(Long datastatusid) {
		this.datastatusid = datastatusid;
	}

	public Long getDatatypeid() {
		return this.datatypeid;
	}

	public void setDatatypeid(Long datatypeid) {
		this.datatypeid = datatypeid;
	}

	public String getDeletereason() {
		return this.deletereason;
	}

	public void setDeletereason(String deletereason) {
		this.deletereason = deletereason;
	}

	public Long getDepartmentid() {
		return this.departmentid;
	}

	public void setDepartmentid(Long departmentid) {
		this.departmentid = departmentid;
	}

	public Long getDetailsregistertypeid() {
		return this.detailsregistertypeid;
	}

	public void setDetailsregistertypeid(Long detailsregistertypeid) {
		this.detailsregistertypeid = detailsregistertypeid;
	}

	public String getDuties() {
		return this.duties;
	}

	public void setDuties(String duties) {
		this.duties = duties;
	}

	public String getEnforcingauthority() {
		return this.enforcingauthority;
	}

	public void setEnforcingauthority(String enforcingauthority) {
		this.enforcingauthority = enforcingauthority;
	}

	public String getEnquiredeventreason() {
		return this.enquiredeventreason;
	}

	public void setEnquiredeventreason(String enquiredeventreason) {
		this.enquiredeventreason = enquiredeventreason;
	}

	public String getEnquiredeventreason1() {
		return this.enquiredeventreason1;
	}

	public void setEnquiredeventreason1(String enquiredeventreason1) {
		this.enquiredeventreason1 = enquiredeventreason1;
	}

	public String getEnquiredperson() {
		return this.enquiredperson;
	}

	public void setEnquiredperson(String enquiredperson) {
		this.enquiredperson = enquiredperson;
	}

	public String getIdentifynumber() {
		return this.identifynumber;
	}

	public void setIdentifynumber(String identifynumber) {
		this.identifynumber = identifynumber;
	}

	public String getInquiryman() {
		return this.inquiryman;
	}

	public void setInquiryman(String inquiryman) {
		this.inquiryman = inquiryman;
	}

	public String getInquiryspot() {
		return this.inquiryspot;
	}

	public void setInquiryspot(String inquiryspot) {
		this.inquiryspot = inquiryspot;
	}

	public Date getInquirystartdate() {
		return this.inquirystartdate;
	}

	public void setInquirystartdate(Date inquirystartdate) {
		this.inquirystartdate = inquirystartdate;
	}

	public Date getInquirystopdate() {
		return this.inquirystopdate;
	}

	public void setInquirystopdate(Date inquirystopdate) {
		this.inquirystopdate = inquirystopdate;
	}

	public Long getInquirytimes() {
		return this.inquirytimes;
	}

	public void setInquirytimes(Long inquirytimes) {
		this.inquirytimes = inquirytimes;
	}

	public Long getIsdeleted() {
		return this.isdeleted;
	}

	public void setIsdeleted(Long isdeleted) {
		this.isdeleted = isdeleted;
	}

	public Long getIsneedpor() {
		return this.isneedpor;
	}

	public void setIsneedpor(Long isneedpor) {
		this.isneedpor = isneedpor;
	}

	public Long getIsnewest() {
		return this.isnewest;
	}

	public void setIsnewest(Long isnewest) {
		this.isnewest = isnewest;
	}

	public Long getIsprint() {
		return this.isprint;
	}

	public void setIsprint(Long isprint) {
		this.isprint = isprint;
	}

	public Long getLatestoperateuserid() {
		return this.latestoperateuserid;
	}

	public void setLatestoperateuserid(Long latestoperateuserid) {
		this.latestoperateuserid = latestoperateuserid;
	}

	public String getParty() {
		return this.party;
	}

	public void setParty(String party) {
		this.party = party;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPnlinquiryfileurl() {
		return this.pnlinquiryfileurl;
	}

	public void setPnlinquiryfileurl(String pnlinquiryfileurl) {
		this.pnlinquiryfileurl = pnlinquiryfileurl;
	}

	public Long getPnlinquiryinformid() {
		return this.pnlinquiryinformid;
	}

	public void setPnlinquiryinformid(Long pnlinquiryinformid) {
		this.pnlinquiryinformid = pnlinquiryinformid;
	}

	public Long getPorid() {
		return this.porid;
	}

	public void setPorid(Long porid) {
		this.porid = porid;
	}

	public String getReason() {
		return this.reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public String getRegistrant() {
		return this.registrant;
	}

	public void setRegistrant(String registrant) {
		this.registrant = registrant;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getReportdate() {
		return this.reportdate;
	}

	public void setReportdate(Date reportdate) {
		this.reportdate = reportdate;
	}

	public String getReserved1() {
		return this.reserved1;
	}

	public void setReserved1(String reserved1) {
		this.reserved1 = reserved1;
	}

	public String getReserved2() {
		return this.reserved2;
	}

	public void setReserved2(String reserved2) {
		this.reserved2 = reserved2;
	}

	public String getReserved3() {
		return this.reserved3;
	}

	public void setReserved3(String reserved3) {
		this.reserved3 = reserved3;
	}

	public Long getSexid() {
		return this.sexid;
	}

	public void setSexid(Long sexid) {
		this.sexid = sexid;
	}

	public Long getSuperviseviewtypeid() {
		return this.superviseviewtypeid;
	}

	public void setSuperviseviewtypeid(Long superviseviewtypeid) {
		this.superviseviewtypeid = superviseviewtypeid;
	}

	public String getSupervisor() {
		return this.supervisor;
	}

	public void setSupervisor(String supervisor) {
		this.supervisor = supervisor;
	}

	public String getTitleofcause() {
		return this.titleofcause;
	}

	public void setTitleofcause(String titleofcause) {
		this.titleofcause = titleofcause;
	}

	public String getUnitbname() {
		return this.unitbname;
	}

	public void setUnitbname(String unitbname) {
		this.unitbname = unitbname;
	}

	public Long getUserid() {
		return this.userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public String getZipcode() {
		return this.zipcode;
	}

	public void setZipcode(String zipcode) {
		this.zipcode = zipcode;
	}

	public EAqInsInpectionpandect599 getEAqInsInpectionpandect599() {
		return this.EAqInsInpectionpandect599;
	}

	public void setEAqInsInpectionpandect599(EAqInsInpectionpandect599 EAqInsInpectionpandect599) {
		this.EAqInsInpectionpandect599 = EAqInsInpectionpandect599;
	}

}